package com.fan.gofast.constant;

/**
 * @ClassName Constants
 * @Decription
 * @Author wangjing
 * @Date 23.3.8 0008 10:16
 **/
public class Constants {

    /**
     * C 小程序用户登录以后redis存储的前缀
     */

    public final static String TOKEN_MINI_APP_USER_TOKEN = "mini_app_user_token";

    public final static String TOKEN_WEB_USER_TOKEN = "web_user_token";

    public final static String TOKEN_APP_USER_KEY = "app_user_token";


    public final static String SOBOTEN="https://gw.soboten.com/api/6.0.0/tokens?";
    /**
     * 创建拨打任务
     */
    public final static String COMPANIESTASK="https://gw.soboten.com/api/6.0.0/companies/%s/tasks";
    /**
     * 添加拨打数据
     *  https://gw.soboten.com/api/6.0.0/companies/{companyId}/tasks/{taskId}/task-contacts
     */
    public final static String ADDCALLDATA="https://gw.soboten.com/api/6.0.0/companies/%s/tasks/%s/task-contacts";

    public final static String SOBOTENTOKEN="SOBOTENTOKEN:";
    public final static String Bearer ="Bearer ";

    public final static String APPID="APPID";

    /**
     * 微信小程序相关URL
     */
    public final static String WXTOKEN="https://api.weixin.qq.com/cgi-bin/token?";

    //适用于短信等场景的url
    public final static String WXULLINK="https://api.weixin.qq.com/wxa/generate_urllink?access_token={accessToken}";

    //适用于小程序内部场景的url
    public final static String WXSHORTLINK="https://api.weixin.qq.com/wxa/generate_urllink?access_token=";


    /**
     * 货主短信模板
     */
    public final static String MAIN_COMPANY_USER_SMS="欢迎使用方程物流货主版，您的登录账号:%s,初始密码为：%s,登录后请及时修改密码.";

    /**
     * 司机短信模板
     */
    public final static String MINI_DRIVER_USER_SMS="欢迎使用方程物流司机版，您的登录账号:%s,初始密码为：%s,登录后请及时修改密码.[%s]";

    /**
     * 短信验证码模板
     */
    public final static String CHECK_CODE_SMS="您的本次验证码：%s，10分钟内有效，如非本人操作，请您忽略，感谢使用方程物流";

    /**
     * 祎声科技url
     */
    public final static String YISHENG_TOKEN_URL="%s/cc-api/index/apiLogin";

    public final static String YISHENG_TOKEN="YISHENG_TOKEN:";

    public final static String YISHENG_MAKECALL="%s/fs-api/call/makeCall";

    /**
     * 订阅语音流
     */
    public final static String YISHENG_CALLSTREAM="%s/fs-api/call/stream";

    /**
     * 放音打断
     */
    public final static String YISHENG_BREAK="%s/fs-api/call/break/%s/%s";

    /**
     * 放音
     */
    public final static String YISHENG_SPEAK="%s/fs-api/call/speak/%s/%s";


    /**
     * 挂机 {host}/fs-api/call/hangup/{callId}
     */
    public final static String YISHENG_HANGUP="%s/fs-api/call/hangup/%s";


    public final static String START_PLAY_VOICE = "喂，你好师傅";

    public final static String FIRST_ANSWER_VOICE = "我是%s，从%s到%s，运费%s元一吨，装吗？";

    public final static String PROJECT_NAME = "方程物流";

    public final static String TASK_RECORD = "通话记录";


    public static final String SERVICE_NAME = "func56";
    public static final String WAV_DIR = "wav";
    public static final String MP3_DIR = "mp3";
    //默认分账比例
    public static final String DEFAULT_DIVIDE_ACCOUNTS = "70";


    /**
     * 货主运力回访短信模板-有意向
     */
    public final static String COMPANY_DRIVER_VISIT_SMS = "尊敬的司机朋友，常年货源：%s-%s，运费约%s元，报号可拨打%s。";

    /**
     * 货主运力回访短信模板-无意向
     */
    public final static String COMPANY_DRIVER_VISIT_SMS_NOT_PURPOSE = "尊敬的司机朋友，关注方程物流司机小程序，海量货源，等你来抢。";
}
